<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>




<h6>
  当前目录
</h6>
<span class="label label-danger">${repository }</span>

<hr style="margin: 15px 0px 5px 0px;" />
<h6>
  子目录
</h6>




<c:forEach items="${sonRepositoryList }" var="son">
  <button type="button" class="btn btn-warning btn-xs" sonRepository="${son.path }" method="131">
    ${son.name }
  </button>
  <hr style="margin: 10px 0px 10px 0px;" />
</c:forEach>



<script type="text/javascript">
	$("button[method=131]").click(
			function() {
				var sonRepository = $(this).attr("sonRepository");
				sonRepository = encodeURI(sonRepository);
				var url = "<c:url value='imageShow' />"
						+ "?method=131&sonRepository=" + sonRepository;
				window.location.href = url;
			});
</script>

